<div class="window login">
    <div class="windowBar"><?PHP echo $title; ?></div>
    <div class="windowContent">
        <form method="post" action="<?PHP echo baseUrl(); ?>login/submit" accept-charset="UTF-8">
            <fieldset class="fieldset2">
                <?PHP if (isset($errors)): ?>
                    <dl> 
                        <dd>
                            <div id="error">
                                <?PHP foreach ($errors as $error): ?>
                                    <?PHP echo $error ?><br />
                                <?PHP endforeach; ?>
                            </div>
                        </dd>
                    </dl>
                <?PHP endif; ?>
                <dl><dd><strong>Please enter a valid user name and password to log in.</strong></dd></dl>
                <dl>
                    <dt><label for="userName">User name:</label></dt>
                    <dd><input type="text" tabindex="1" id="userName" name="userName" size="35" maxlength="20" value="<?PHP echo setValue('userName'); ?>"/></dd>
                </dl>
                <dl>
                    <dt><label for="password">Password:</label></dt>
                    <dd><input type="password" tabindex="4" id="password" name="password" size="35" maxlength="15" value="<?PHP echo setValue('password'); ?>" /></dd>
                </dl>
            </fieldset>
            <fieldset class="submit-buttons">
                <input type="submit" name="submit" value="Log in" /> 
            </fieldset>
        </form>
        <div class="center">Not a member? <?PHP echo anchor('signup', 'create'); ?> an account. Forgot your password? Try to <?PHP echo anchor('access/recover', 'recover'); ?>.</div>
    </div>
</div>
